package com.sxy.service;

import com.sxy.pojo.Brand;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;

/**
 * @author 宋鑫宇
 * @version 1.0
 */
//有些异常是默认不回滚的需要手动配置异常
@Transactional(rollbackFor = {IOException.class})
public interface BrandService {

    Brand selectById(int id);
}
